<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    /* 
      模板字符串：
        用反引号（数字1左边按键）
        可以用变量和内容拼接
    */
    var str = "hello world";
    var str1 = `hello ${str}`;
    console.log(str1);
  </script>
</body>
</html>